package com.example.edu.entity

import java.sql.Timestamp

/**
 * 学生答题信息和推荐的题目ids样例类
 */
case class AnswerWithRecommendations(
                                      studentId: String, //学生ID
                                      textbookId: String, //教材ID
                                      gradeId: String, //年级ID
                                      subjectId: String, //科目ID
                                      chapterId: String, //章节ID
                                      questionId: String, //题目ID
                                      score: Int, //题目得分，0~10分
                                      answerTime: String, //答题提交时间，yyyy-MM-dd HH:mm:ss字符串形式
                                      ts: Timestamp, //答题提交时间，时间戳形式
                                      recommendations: String //推荐的题目ids
          ) extends Serializable